export default class danmakuItem {
  uid: string;
  name: string;
  message: any;
  type: danmakuType;
  isAdmin: boolean;
  ul: string;
  ulColor: string;
  svip: boolean;
  medalLv: string;
  medalName: string;
  medalColor: string;
  hasMedal: boolean;
  hasUl: boolean;
  //gift
  num: string;
  action: string;
  giftId: string;
  giftName: string;
}

export enum danmakuType {
  message,
  online,
  unknow,
  sys,
  welcome,
  gift
}